<div class="form">

    <?php $form=$this->beginWidget('CActiveForm', array(
    'id'=>'address-form',
    'enableAjaxValidation'=>false,
    'htmlOptions'=>array(
        'onsubmit'=>"return false;",/* Disable normal form submit */
        'onkeypress'=>" if(event.keyCode == 13){ send(); } " /* Do ajax call when user presses enter key */
    ),
)); ?>

<?php
    echo "<br><br>";
    echo "<h3>2. Adresse wählen:</h3> <br>";
    echo CHtml::radioButtonList('address', 'test', $data, array('onchange'=>'sendAddress();'));
?>

<?php $this->endWidget(); ?>


</div><!-- form -->

